<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
  <!-- 这个页面中不要包含有js!!! -->
  </head>  
  <body>
  	<!-- 验证还是jquery-validation好用，这里省事没用 -->
	<form class="auform" id="partyForm" method="post">
		<input type="hidden" name="idBgt" id="idBgt" value="">
		<table class="autable">
			<tr>
				<td class="autd1">案件编号：</td>
				<td class="autd2"><input name="caseNo" id="caseNo" style="width:150px;background-color: #ccc;" readonly="readonly"></td>
				<td class="autd1">案件归属类型：</td>
				<td class="autd2"><input name="dealType" id="dealType" style="width:100px;background-color: #ccc;" readonly="readonly"/></td>			
				<td class="autd1">姓名：</td>
				<td class="autd2"><input name="partyName" style="width:100px;" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">身份证号：</td>
				<td class="autd2"><input name="identityNo" style="width:150px" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>			
				<td class="autd1">性别：</td>
				<td class="autd2">
					<select class="easyui-combobox" name="sex" panelHeight="auto" style="width:100px;" editable="false">
						<option value="男">男</option>
						<option value="女">女</option>
					</select>
				</td>			
			 	<td class="autd1">联系电话：</td>
				<td class="autd2"><input name="phone" style="width:100px;" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">地址：</td>
				<td class="autd2"><input name="address" style="width:150px;" class="easyui-validatebox txt"></td>
				<td class="autd1">交通方式：</td>
				<td class="autd2"><input name="traffic" style="width:100px;" class="easyui-validatebox txt"></td>
				<td class="autd1">机动车型号：</td>
				<td class="autd2"><input name="carType" style="width:100px;" class="easyui-validatebox txt"></td>
			</tr>
			<tr>
				<td class="autd1">机动车牌号：</td>
				<td class="autd2"><input name="carNo" style="width:150px;" class="easyui-validatebox txt"></td>
				<td class="autd1">责任类型：</td>
				<td class="autd2">
					<select class="easyui-combobox" name="dutyType" panelHeight="auto" style="width:100px;" editable="false">
						<option value="${status.DUTY_MAIN }">主责</option>
						<option value="${status.DUTY_MINOR }">次责</option>
						<option value="${status.DUTY_OTHER }">同责</option>
						<option value="${status.DUTY_ALL }">全责</option>
						<option value="${status.DUTY_NO }">无责</option>
					</select>
				</td>
				<td class="autd1">负责情况：</td>
				<td class="autd2">
					<select class="easyui-combobox" name="dutyContent" panelHeight="auto" style="width:100px;" editable="false">
						<option value="${status.PENAL }">刑事</option>
						<option value="${status.CIVIL }">民事</option>
					</select>
				</td>
			</tr>
			<tr>
				<td class="autd1">备注：</td>
				<td class="autd2" colspan="3"><textarea name="remark" class="txtarea" style="width:300px;height:50px"></textarea></td>
			</tr>
			
			<tr>
				<td class="autd3" colspan="4">
					<a href="#" id="btn-back" onclick="$('#MyPopWindow').window('close');" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
					<a href="#" id="btn-add" onclick="addOrUpdate('${param.update}');" class="easyui-linkbutton" iconCls="icon-save">保存</a>
				</td>
			</tr>
		</table>
	</form>
  </body>
</html>
